package com.hx.haowumall.haowumallgateway;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import com.sun.deploy.config.WebStartConfig;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import org.springframework.web.bind.annotation.CrossOrigin;

/*
* 1、
* */

//@CrossOrigin

//@CrossOrigin(origins = "http://localhost:8080", maxAge = 3600)
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class,DataSourceAutoConfiguration.class})
public class HaowumallGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(HaowumallGatewayApplication.class, args);
    }

}
